<?xml version="1.0" encoding="UTF-8"?>
<ui:component xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

	<ui:composition template="/pages/templates/layout_principal.xhtml">
		<ui:define name="body" width="100%">
			<h:form>
				<h:panelGrid styleClass="titulo">
					<h:outputText styleClass="titulo" value="Percentagem de conclusão do requisito: #{manterRequisitosControl.requisito.nome}" />
				</h:panelGrid>
		    

	
	
					<rich:dataTable id="p" 
						cellpadding="0"
						width="45%" 
						cellspacing="0" 
						rows="5" 
						border="0" 
						var="item"
						value="#{manterRequisitosControl.percentual}"
						rowClasses="odd-row, even-row" 
						styleClass="stable"
						keepSaved="true"
						>
						<rich:column width="30%">
							<f:facet name="header">
								<h:outputText value="Fase" />
							</f:facet>
							<h:outputText value="#{item.fase}"></h:outputText>
						</rich:column>
						
						<rich:column width="15%">
							<f:facet name="header">
								<h:outputText value="% Concluído" />
							</f:facet>
							<h:outputText value="#{item.percentual}"></h:outputText>
						</rich:column>
						
							
					</rich:dataTable>
	
					<h:panelGrid cellpadding="3" styleClass="botoes">
						<h:commandButton action="#{manterRequisitosControl.iniciar}" value="Voltar" immediate="true" />
					</h:panelGrid>
				
			</h:form>
			
		</ui:define>


	</ui:composition>

</ui:component>